package com.tosit.bmx.service.user;

import com.tosit.bmx.domian.SubjectVo;
import com.tosit.bmx.domian.TempSubject;
import com.tosit.bmx.domian.Temporary;
import com.tosit.bmx.domian.TestMsg;

import java.util.List;

public interface TemporaryService {
    /**
     *  通过所选套题获取题目
     * @author tsl
     * @date 2018/4/28 9:52
     * @param
     * @return
     */
    List<SubjectVo> getSubjectBySeIds(List<Integer> seids);

    List<TempSubject> initTest(List<Integer> seids, Integer type,Integer userId);

    List<TempSubject> contineTest(Integer id);

    Integer modifyTem(Temporary temporary);

    TestMsg getCarCourse(Integer id);

    TestMsg getCarCourseq(Integer ssid);

    List<TempSubject> getRadomSub(Integer courId, Integer id);

    Temporary isExsit(Integer id);

    Integer deleteTem(List<Integer> torders, Integer id);

    Integer deleteByUserId(Integer id);
}
